﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WellFormattedZhouyiGenerator.Extensions;
internal static class DirectoryInfoExtensions
{
    public static FileInfo GetFile(this DirectoryInfo directoryInfo, string fileName)
    {
        var path = Path.GetFullPath(fileName, directoryInfo.FullName);
        return new(path);
    }
}
